﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace class1
{
    class BirdType : animal
    {
        protected string fly;
        public string Fly
        {
            get { return this.fly; }
            set { this.fly = value; }
        }

        public BirdType() 
        {

        }
        public BirdType(string fly)
        {
            this.fly = fly;
        }
        public void niaolei()
        {
            Console.WriteLine("我会飞喔。");
        }
    }

}
